home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / SDKs / Apple Game Sprockets / InputSprocket / Sample Drivers / Common Driver Code / String_Utils.h < prev   
Encoding:
Text File  |  1998-07-17  |  759 b   |  27 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    String_Utils.h                     ©1993 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef __STRING_UTILS__
  6. #define __STRING_UTILS__
  7.  
  8. #ifndef __MACTYPES__
  9. #include <MacTypes.h>
  10. #endif
  11.  
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15.  
  16. extern StringPtr    CopyPStr(ConstStr255Param inSourceStr, StringPtr outDestStr,
  17.                             SInt16 inDestSize = sizeof(Str255));
  18. extern StringPtr    ConcatPStr(Str255 ioFirstStr, ConstStr255Param inSecondStr,
  19.                             SInt16 inDestSize = sizeof(Str255));
  20.  
  21. extern Boolean        PStr_Identical(ConstStr255Param inStringOne, ConstStr255Param inStringTwo);
  22.  
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26.  
  27. #endif    // __STRING_UTILS__